package com.tinyframework.saas.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.tinyframework.common.support.pojo.AbstractObject;

/**
 * 
 * @author Jh
 * @since 2021-09-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("assassin_extra_reward")
public class ExtraRewardDO extends AbstractObject {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 方案名称
     */
    @TableField("scheme_name")
    private String schemeName;

    /**
     * 组织ID
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 组织名称
     */
    @TableField("dept_name")
    private String deptName;

    /**
     * 奖励方式 1-固定金额 , 2-按比例
     */
    @TableField("reward_type")
    private Integer rewardType;

    /**
     * 奖励规则 1-收款发放 , 2-消耗完发放
     */
    @TableField("reward_rule")
    private Integer rewardRule;

    /**
     * 是否删除
     */
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;

    /**
     * 创建用户ID
     */
    @TableField("create_user")
    private Long createUser;

    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField("gmt_modified")
    private Date gmtModified;



}
